package org.anyin.gitee.cloud.center.upms.mapper;

import org.anyin.gitee.cloud.center.upms.model.SysUserRole;
import org.anyin.gitee.cloud.lib.core.web.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysUserRoleMapper extends BaseMapper<SysUserRole> {

    Boolean hasRole(@Param("sysUserId") Long sysUserId);

    List<String> getRoleListByUserId(@Param("sysUserId") Long sysUserId);
}
